adding frontend controller