Although login is implemented, however, logout is not implemented.
Need to implement the Logout functionality such that token is deleted from local storage. Also need to update the token in the storage as soon as the User Loges in. It is found that even if a user is logged in, token is not updated in the local storage and token of previous logged in token is used.
Although login is implemented, however, logout is not implemented.
Need to implement the Logout functionality such that token is deleted from local storage. Also need to update the token in the storage as soon as the User Loges in. It is found that even if a user is logged in, token is not updated in the local storage and token of previous logged in token is used.