Insert login and waiting page. Added integration with in memory database.