fixing logs and user validation