redirecting to dashboard after submission.
refactorings for log incoming