Fixed rating to user postgres