Return different views depending on user?

i got a problem that i can´t figure out, is it possible to in my controller se if a user is authenticated and if its true return one view and return another view if the user not is authenticated? If it possible can someone point me in the right direction.

If your controller, injet an IOrchardServices instance named _orchardServices. Then in your controller, you can get the currently authenticated user with _orchardServices.WorkContext.CurrentUser. If it's null the user is not authenticated.