Implemented dynamic login validation

Dynamic login validation implemented on the modal using ajax, js, php.
Next task is to do this for registration username & email.