migrate to angular 1.2.0-rc1
login/logout functionality