Registration and logout fixed

Users can now logout, however their session info is still stored in the
site database, will figure this out soon. Registration form fixed and
loading perfectly however the actual registration process has not been
tested yet.
commiting uncommited changes?

No idea wtf this is all about but it keeps poping up for me in Github
windows program so comiting them to see if this stops.
Merge pull request #2 from chrisx84/dev

Dev