Error handling for 0auth, user is unable to know the issue

Error handling for 0auth
Fix this for user friendly ui