Fix several bugs regarding login verification
Merge pull request #28 from salbahra/JM_UI

Fix several bugs regarding login verification