added user authentication necessary to view dashboard