Connected login and viewBags to GUI