Adding flexibility to load dashboard on login