attempts at saving user session in front-end