connection between client and server functions, login, course, coursequestion functions. missing: csrf_token, login on serverside not functioning properly