@ -53,8 +53,7 @@ module.exports.loginUser = (request, response) => {
const token = auth.createAccessToken(result);
// return response.send({accessToken: token});
return response.send(true);
return response.send({accessToken: token});
}else{
return response.send(false);