Added simple validator.
Merge branch 'improve_login'

* improve_login:
  Added simple validator.