Added Controller for three roles and added automatic redirection depending on role.