success implementing user login

now implementing writing registered users out to file