Fixed redirection bug with logging in and returning to the welcome page when already logged in