Added login, session and admin. Working with DB, but need to make it protect admin area.