added encrytiion to the user model