some commenting done

some commenting done
finished testing
linked login portal
registration portal alone leftover.