Registered user and Anonymous user work is done.