fixed doctor nurse login

Added login functionality so you can now login as a doctor or
nurse(demonstrates access control)