fixed issue of new users not persisting as being logged in.