fixed login, logout. added admin section.