Added error check for null fields in login
Removed a test print
Merge pull request #22 from SiddharthManoj/master

Added error check for null fields during login