Added login integration between UI and Server