[Bug Fixed] when unregistered user login throws NullpointerException