Added devise and added api for sign_in/sign_out