CLeanup

Fix unchanged calls to :authorize
Fixed routing for /api_key
Changed calls from home_path to root_path
Add admin flag to user table
Fix map#edit