added devise model to check that encrypted password is set and improve the consistency of authentication
updated version and changle log and gem.lock