fixed errors with remembering users