combined login backend with login page ui