Set response in login and add user id in cookie