Refactored server side api code to pair to modules and app rather than data function.
Wired up basic facebook authentication.
Added redirect function to authentication site.
Added profile badge with image to titlebar.