Change login to support user types

Add check at login to determine whether to doctor or patient segue. Add hardcode at signup to make new accounts patients. (Should delete all accounts and create one of each for testing). Add another enum for error codes to pass to showAlert functions. Add new TableViewController for future doctor page. Change segue names. Populate bit mask array (not used, show all by default) during signup, not login.