added dashboard backend, working for mainpage, signin/signout session working, but not secure(can press back)