added encryption for passwords, fixed rating of items