More incomplete progress on the logging in. Have found the OmniAuth GEM which seems to be a much better way than trying to implement each websites own sign on seperated and it integrates into RubyNRails well. Currently have the identity login working, but have just tried using it with AJAX and having problems. Therefore this is just a save of WIP