Remove preparations for ajax from Login/register. Fix a problem with two errors in one field on the registration