Star ratings only work logged in. Fixed code.