finished signin php

1.finished signin procedure (check userid and password)
2.note:redirecting is not completed
finished sign up page

1.check if it is already existed
2.add the user
convert to adapt the database

changed some table fields' name and add some names