add 'database' library in autoload.php for autoload database settings in project
complete 'addUser' function in User model