Fixed indention and fatal errors when no controller and action inserted in the url, also, fixed redirection method