add http server
do not read username as option
move port to external javascript
rename variable
add reference to handler
move bundle code upper in the file
send 400 http status if bad request