Login Validation + prepopulationg sample type and device type