change profile button visibility and fix things