fixes to login and registration forms