Adding ssl function for login and register
Adding asterisks to non-optional fields