Working logout, fixed link between profile and user update