fix sql query. At Home Controller, because of join, pin's 'created_at' column collided with users table