Making realm optional

Add checkbox to gui, remove realm from oauth request if box unchecked