#11 Added one javascript functions and made minor updates in order to
 manage the display of action buttons according to what the current User
 can or cannot do