Prevented app from craching because of falsy login