got login, logout and side menu working. With globals vars FTB.