Update Login Class

Class Login optimized.