refactoring user profile options buttons