fixed error on sign in and changed delete button to be a post instead of a get