revise user authentication and add/rm table columns