Change format and get user from cookie