api/actions: created addUserToTeamInDatabaseAction

Relates to #299.
api/actions: fixing wrong parameters passing in actions

Relates to #299.
api/auth: using actions and pipeline in addUserToTeam

Closes #299.