added user registration and approval

approval is not entirely complete. Adding friends is only
one-directional.