Core pr 5

The reservation buttons have been changed from forms to ajax links to fix cache issues and slow site.
Logic have been updated.