Adds login validation and closes #6 -- v0.1.1