added login functionality with open ID