Updated code to redirect to dashboard on logout
updated to point to production db