added admin page handler
added priv/ directory and some pages