set up login/logout angular with server
merged with Jassiem's branch