removed ajax and used reloading page instead