add functionality to change visibility of user profile