auto-logout
added auto logout functionality: if the token is expired, whenever the user will try to send a request, the app will logout automatically
added auto logout functionality: if the token is expired, whenever the user will try to send a request, the app will logout automatically