Added Login class for common login
Added SessionSetting class for session params
Replaced logincode in NormalLogin with Login class