check emptiness for name and password
#Issue 63