Add encryption to login - everything works