Finished up a most likely failing loginUser function
Cleaned up scripts folder