Added Devise and Login fucntionality