restore inputted fields in user registration form