Add invite friend feature

Where is it getting the `block_unlogged_in_user` method from?