Added persistence to user login