config app's port and host
remove useless comments and oauthlogin middleware
enable authentication frame