Implemented User authentication using devise