prevent favorite from being created when user_id is nil
hide favorite button if user is not in the database