Adding database selection in login view.
Merge branch 'dev' into pems
Partial: AJAX call to load PEMS