1. db col and table names constant values now
2. update function for adding registered users. but it is still failing. got to see this at home