fixed bug that prevented loading data after login

Signed-off-by: Jakub Koudelka <koudelka.j@gmail.com>