Adds login and fixes activate account