Added users table and corrected controllers