added search view, controller; extracted authentication view from app view; reworked stuff