adding dao script and login function
db; home, index and logout scripts

starting to implement user login system with database