fix login redirect
fix redirect
fix signal