Modified repository funcion adding login information. Commented all the variables and functions