Worked on authorization some more. Error free and working.  This is before the implementation of security.