added login form and changed server route