Added code for edevise/user authentication.