Working on authorization and registration