Added unsuccessful scenario and implemented login feature