adding a method for getting the current role of a user