Added user authentication using devise.