Update to front end

Seperate login into services and controllers, binded a little data and
created 3 views.