Added functional test for log in
Working on sync function
Finished nested loops
Finished now to test that it is getting the info
Finished now to test that it is getting the info
Added some commentary and went through code again, found some things that can be refactored and refined