Adding funcionality for guest sessions to save to logged-in user