edit sessions buttons and links added

when user is logged in and has an active session it will show edit
session buttons instead of add