implemented simple authentication view
made app serve client properly