Redirect function
Added BASE_URL constant and redirect in controller without coverage
Removed test redirect