Login/Logout/User roles

Added tables for defining user roles. Added Logout functionality and
improved Login. Created Registration module, but is not finished.