Fix angularjs Function type
Redirect to login page on frontend