implemeneted post method to dashboard for first time logins.