Add web login id alert after registration. Refactor codebase.