Added authentication using devise gem