moved current_pic to app controller