changed func ordering
Added password sql
Added insert password
Added password select