removed unused bool from login function
added repetition list getting and removed the silly function