fixed admin stuff, added registering