Got flask user to work with user login/logout.