added login functionality, dashboard needs workd