minor edit
Fixed bug in User Panel

If other users have tasks and current users don't it used to display table instead of 'no permissions' message. This is fixed by adding a new function to views.py which checks this condition.