Changed sessions to classes, created better profile, and login