fixed error when no poster exists, added partial implementation for database