Update base.html

added dynamic buttons based on user status.