created state to store the ipaddress auth.js
const state = {ipAddress: \'\'} const getters = {ipAddress: (state) => { return state.ipAddr