JS working as it should

Need to apply some Authentication rules to the API.  Need to be able to
handle the responses on the front end.
Recieving 401 when SessionAuthentication is applied to TimeUnit