if no user is logged-in use '0' as user id
added simple dashboard module