Adding role option to login operation