Change position of root 

Not sure whether this is important...
Add redirect from root page if logged in

We added a before_action and a private method that is called in the the before_action