Added login to backend