Modified logging in, random number generation for sessionID, checking in every file if the sessionID in the cookie is valid