Fixed bug when logging in before missionary in database