profile page buttons working