added actual functionality to Login Panel (launches on pressing OK)
Merge origin/master