Fixed log-in issues & introduced a dashboard page upon login