working user table and authentication