finish login

take care of the version of the mysql,I set the version to be
5.1.29,and remember to add row in the mentor table.