Login screen faulty!!!

Login and logout functionality set up with parse.com but the app
crashes when the Login button is tapped/clicked.

***FYI, i had this issue with my other app, the issue might be coming
from the alert dialog.***