Redirects them to the right page;Removes unnecessary gem