Add actions after and before login related forms