added comments and some refactoring
added the mysql database

- added mysql connector
- added userlookup at login