Login System and input validations