Add auto login when signing up and authorize edit, update only for logged in users.