async function getAuthenticatedUser (token) {
  try {
    let resp = await axios.get('https://api.github.com/user', {
      headers: {
        'Authorization': 'bearer '.concat(token)
      }
    })
    return resp.data
  } catch (e) {
    console.error(e)
    return false
  }
}
Retrieves the current authenticated user info

@param {string} token : Authentication token for the logged user
@return {object} Authenticated user