Fixed bug, the application was trying to fetch data without having logged in