Bug Fixes, and work on authetication via outside mechanisms