Fixed warning when accessing to users module without being logged in