corrected bug for current_user=nil on create new task