HTTP server dev

Added parts for permission checking
Added more content types