Fixed bug in main controller to fix blank screen issue
Renamed user details to access token