added login f, fixed angularjs route provider