fixes too long password, too long username problem