preparing the countroler and the login view for nick