Manage post redirection and actions with parameter after login