error when hit #profile without login is fixed