Added login and authentication