A simple helper for Go's web developer to handle user login and registration.