Limited length of username and password on client side and alert when a username is entered without a password and vice versa