if user already loggedin, it is reddirected from wrong urls to it's main
page