Display errors in forms, redirect after logging out