edit to auth.php controller to allow redirect to specified url

On successful login - the app can redirect to a specific url.