Updating login function using token and sessionexp
Updating config diet file
Displaying information for JS fetching
Fixing error when is not authenticated