redirect to home page when hit #/profile whithout login