Added Login and registration functions 2
Added Login and registration functions 2