User can join and leave group

[trello](https://trello.com/c/k9j284nK/28-users-can-join-and-leave-groups)
I think it's better to keep a blank line between two function blocks