autoload all models, move login checking to construct method
move login control to constructor
load uid in controller constructor