Fix redirect state when state is not authenticated
Update TODO
Fix logout go previous state wrong when state with parameter
Register view
Update TODO