Add login and register action codes