added check for user's role to access leave types webpage