Improved login redirect in staff update action