login, cookies, register, and everything works, also logout added