Generate user controller and user password encryption