Authorization Erlang application for social networks