The NSUserDefaults works :)

the key is “userType” Its value can be “doctor” or “civilian”