Fixed a force close on login. Issue #47 resolved