added some db functions

now every time a user enter in username, it inserts to the database
table with the username.
Added file

PLEASE READ LOG FILE