added Get and Post method