Added web security and a role field to the user class as well as custom authentication provider class