Made the priority and type options prettier. Fixed a bug in login.