added HTTP Basic Auth
moved to modular application