Angular auth

Implemented auth as described in #39