changed code of controller. the redirect feature was not working. for
the moment removed it