Fixed Null Pointer Exception, added login message.