trying to implement user.php redirect running into 500 internal server errors with slim