authentication for users using devise gem.. partially done