Add register login to web part.