login and register
login and register function refactoring
save session data
keep session data after registration
search function skeleton
update db
Merge pull request #6 from flyingice/master

login and register functionality + search module skeleton
Merge remote-tracking branch 'upstream/master'