fixed add/remove buttons, checks if user is logged in