refactoring public profile
fixing login