SIGN IN SIGN UP

Dont expose user email via API

To prevent leaking of users info we reduce amount of user information
retrieved via API for normal users.

What user can get via API:

* if not admin: only id, state, name, username and avatar_url
* if admin: all user information
* about himself: all informaion

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
D
Dmitriy Zaporozhets committed
ae564c97d48bf728745c57720734cb40378fd90f
Parent: d5b0f29