added login route and view