Implement basic auth!!

not high priority, but should this file maybe be moved to an 'app' module? in my opinion, the 'common' module is a module anti-pattern.