working on user profile hook