Added the functionality of single login only