Implemented authentication, crypt