fixing authentication and added passwordEncoder
fixing authentication
updates in the authentication system
updates to the authetication classes