Almost every application needs these functions:
These days, this process is almost unified. Why not to add these into sandbox? Log in is already there, could we add the rest?
Feel free to program a component for handling it. Recently I tried to code it myself , but I haven't finished it yet. ;)